</head>
<body>

	<?php include $this->tpl('public:navigation.php') ?>


	<!-- layout -->

	<div id="layout">

		<!-- menu -->

		<a href="#menu" id="menu-link" class="menu-link"></a>
		<div id="menu">
			<div class="pure-menu">
				<a href="/Template?tpl=overview.php" class="pure-menu-heading <?=val($pubData,'leftMenu0','');?>">
					<i class="fa fa-list"></i> 数据总览
				</a>
				<ul class="pure-menu-list">
					<?php if (!empty($sidebar)) foreach ($sidebar as $val):; ?>
                        <li class="pure-menu-item menu-item-divided"><!-- 分组名 -->
                            <a href="#" class="pure-menu-link"><i class="fa fa-list"></i> <?php echo val($val, 'module_name'); ?></a>
                        </li>
                        <?php if (!empty($val['menu_list'])) foreach ($val['menu_list'] as $v):; ?>
                            <li class="pure-menu-item"><!-- 分组成员 -->
                                <a href="<?php echo val($v, 'menu_url'); ?>" class="pure-menu-link"><?php echo val($v, 'menu_name'); ?></a>
                            </li>
                        <?php endforeach; ?>
                    <?php endforeach; ?>
                    <li class="pure-menu-item menu-item-divided">
						<a href="#" class="pure-menu-link"><i class="fa fa-list"></i> 商户管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=storeMgr.php" class="pure-menu-link">商户管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=grouping.php" class="pure-menu-link">商户分组</a>
					</li>
					<li class="pure-menu-item menu-item-divided">
						<a href="" class="pure-menu-link"><i class="fa fa-calculator"></i> 交易管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=orderQuery.php" class="pure-menu-link">订单查询</a>
					</li>
					<li class="pure-menu-item menu-item-divided">
						<a href="" class="pure-menu-link"><i class="fa fa-cog"></i> 支付管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=payConfig.php" class="pure-menu-link">支付方式配置</a>
					</li>
					<li class="pure-menu-item menu-item-divided">
						<a href="" class="pure-menu-link"><i class="fa fa-money"></i> 财务管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=cashing.php" class="pure-menu-link">提现管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=denominate.php" class="pure-menu-link">结算管理</a>
					</li>
					<li class="pure-menu-item menu-item-divided">
						<a href="/Template?tpl=statics.php" class="pure-menu-link"><i class="fa fa-calendar"></i> 数据统计</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=apiFrequency.php" class="pure-menu-link">接口调用量</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=currency.php" class="pure-menu-link">流水统计</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=statics.php " class="pure-menu-link">订单统计</a>
					</li>
					<li class="pure-menu-item menu-item-divided">
						<a href="" class="pure-menu-link"><i class="fa fa-user"></i> 管理员</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=adminMgr.php" class="pure-menu-link">管理员管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=groupingMgr.php" class="pure-menu-link">管理组管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=limitMgr.php " class="pure-menu-link">权限管理</a>
					</li>
					<li class="pure-menu-item menu-item-divided">
						<a href="" class="pure-menu-link"><i class="fa fa-cog"></i> 菜单管理</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=backgroundMenu.php" class="pure-menu-link">后台菜单</a>
					</li>
					<li class="pure-menu-item">
						<a href="/Template?tpl=storeMenu.php" class="pure-menu-link">商户菜单</a>
					</li>
				</ul>
			</div>
		</div>

		<!-- menu -->


		<!-- main -->

		<div id="main">
			<div class="wrapper">

				<!-- 1 -->
				<div class="cus-clearfix right-head">
					<h2><?=val($pubData,'headerTitle','xxx');?></h2>
					<div class="inner-nav" style="float:left;">
						<?php if(isset($pubData)&&isset($pubData['subNav'])){?>
						<ul>
							<?php foreach ($pubData['subNav'] as $key => $value) {?>
								<li>
									<a href="<?=$value['url']?>" <?php
									if(isset($value['active'])&&$value['active']==true){
										echo ' class="active"';}
									?>><?=$value['title']?></a>
								</li>
							<?php }?>
						</ul>
						<?php }?>
					</div>
				</div>
				<!-- 1 -->